#!/usr/bin/python
# -*- coding: UTF-8 -*-
__author__ = 'gtlions'
import time


def isleap(year):
    if year % 400 == 0 or (year % 4 ==0 and year % 100 != 0):
        print 'YES.'
    else:
        print 'NO.'

isleap(2008)
thisyear = time.localtime()[0]
print thisyear
isleap(thisyear)